package com.dk.ssm.entity;


import java.util.Date;

public class Emp {
    private Integer id;
    private String empName;
    private int empAge;
    private String empGender;
    private Date createDate;
    private Integer deptId;

    @Override
    public String toString() {
        return "Emp{" +
                "id=" + id +
                ", empName='" + empName + '\'' +
                ", empAge=" + empAge +
                ", empGender='" + empGender + '\'' +
                ", createDate=" + createDate +
                ", deptId=" + deptId +
                '}';
    }

    public Emp() {
    }

    public Emp(Integer id, String empName, int empAge, String empGender, Date createDate, Integer deptId) {
        this.id = id;
        this.empName = empName;
        this.empAge = empAge;
        this.empGender = empGender;
        this.createDate = createDate;
        this.deptId = deptId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public int getEmpAge() {
        return empAge;
    }

    public void setEmpAge(int empAge) {
        this.empAge = empAge;
    }

    public String getEmpGender() {
        return empGender;
    }

    public void setEmpGender(String empGender) {
        this.empGender = empGender;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }
}
